﻿namespace InternetBank.ViewModel
{
    using GalaSoft.MvvmLight;

    public class CredentialsViewModel : ViewModelBase
    {
        private string username;

        private string password;

        public string Username
        {
            get
            {
                return this.username;
            }

            set
            {
                if (this.username == value)
                {
                    return;
                }

                this.username = value;
                RaisePropertyChanged("Username");
            }
        }

        public string Password
        {
            get
            {
                return this.password;
            }

            set
            {
                if (this.password == value)
                {
                    return;
                }

                this.password = value;
                RaisePropertyChanged("Password");
            }
        }
    }
}
